import time
import uuid

def NewUUID():
    NewUUID = str(uuid.uuid4())
    return NewUUID

def GetTimeNow(sw=False):
    if sw:
        return time.time()
    else:
        return int(time.time())